package com.jx.flowershopmanager.entity;

import java.util.List;

public class FlowersEntity {
    private Integer id;
    private String name;
    private Integer category;
    private String origin;
    private String url;
    private Integer stock;
    private String describe;
    private String createAt;
    private double price;
    private List<FlowerPhoto> photos;

    public FlowersEntity(Integer id, String name, Integer category, String origin, String url, Integer stock, String describe, String createAt, double price) {

        this.id = id;
        this.name = name;
        this.category = category;
        this.origin = origin;
        this.url = url;
        this.stock = stock;
        this.describe = describe;
        this.createAt = createAt;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public List<FlowerPhoto> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FlowerPhoto> photos) {
        this.photos = photos;
    }

    public FlowersEntity(Integer id, String name, Integer category, String origin, String url, Integer stock, String describe, String createAt, Integer price, List<FlowerPhoto> photos) {
        this.id = id;
        this.name = name;
        this.category = category;
        this.origin = origin;
        this.url = url;
        this.stock = stock;
        this.describe = describe;
        this.createAt = createAt;
        this.price = price;
        this.photos = photos;
    }

    public FlowersEntity() {
    }
}
